package com.bosssoft.boss_exam_db.mapper;

import com.bosssoft.boss_exam_db.baseMapper.MyMapper;
import com.bosssoft.boss_exam_db.entity.Question;
import com.bosssoft.boss_exam_db.model.vo.QuestionVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
// 问题Mapper
public interface QuestionMapper extends MyMapper<Question> {
    //根据条件查询问题 如：公司ID、问题类型、问题名称
    List<QuestionVO> queryByCondition(@Param(value = "companyId") String companyId, @Param(value = "questionTypeId") String questionTypeId, @Param(value = "questionName") String questionName);
}